hotDevInfo

Function

After the working device restores its connection with the management device, if a hot standby device has taken over the video recording duties of the working device, the management device will send the information of that hot standby device to the working device. The working device will then connect to the hot standby device and retrieve the video recordings from it.

Request Message

Parameter Description

Table 1

ParameterRangeTypeDescription
portint
usernamestring
ipstring
cipherstring
seqint
peer_keystring

Sample:

POST /API/RecordPatch/hotDevInfo HTTP/1.1
{
    "data": {
        "port": 80,
        "username": "admin",
        "ip": "172.16.10.7",
        "cipher": "0DaU3dTjFJWOM2XS2Ixq4n9pYOS6RJY1sLBqLFbwdgqjt2aL5",
        "seq": 0,
        "peer_key": "0HPdedLykSzlof0GUwmVGFkkbyvSYGz4aQxGgn5nVnEw="
    }
}

Response Message

None

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result": "success"
}